package com.example.tetstmybatis.rep;

public class ResopnseDto<T> {
    private boolean success = true;
    private String code;//
    private  String message;///
    private T content;//
    public boolean isSucess() {
        return success;
    }
    public void setSucess(boolean sucess) {
        this.success = sucess;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getContent() {
        return content;
    }

    public void setContent(T content) {
        this.content = content;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("ResponseDto{");
        sb.append("success=").append(success);
        sb.append(", code='").append(code).append('\'');
        sb.append(", message='").append(message).append('\'');
        sb.append(", content=").append(content);
        sb.append('}');
        return sb.toString();
    }


}
